home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / gselec.z / gselec
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggsssseeeelllleeeecccc((((3333GGGG))))                                                          ggggsssseeeelllleeeecccc((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggsssseeeelllleeeecccc - puts the system in selecting mode
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggsssseeeelllleeeecccc((((bbbbuuuuffffffffeeeerrrr,,,, nnnnuuuummmmnnnnaaaammmm))))
  13.      iiiinnnntttteeeeggggeeeerrrr****2222 bbbbuuuuffffffffeeeerrrr((((****))))
  14.      iiiinnnntttteeeeggggeeeerrrr****4444 nnnnuuuummmmnnnnaaaammmm
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _b_u_f_f_e_r   expects the buffer into which you want the system to save the
  18.               contents of the names stack.  A name is a 16-bit number, that
  19.               you load on the name stack just before you called a drawing
  20.               routine.
  21.  
  22.      _n_u_m_n_a_m_e  expects the maximum number of names that you want the system to
  23.               save.  This number must not exceed the number of elements in
  24.               _b_u_f_f_e_r.
  25.  
  26. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  27.      ggggsssseeeelllleeeecccc turns on the selecting mode.  When in selecting mode, the system
  28.      notes when a drawing routine intersects the selecting region and writes
  29.      the contents of the names stack to the specified buffer. If you push a
  30.      name onto the names stack just before you call each drawing routine, you
  31.      can record which drawing routines intersected the selecting region.
  32.  
  33.      Use the current viewing matrix to define the selecting region.
  34.  
  35.      ggggsssseeeelllleeeecccc and ppppiiiicccckkkk are identical except ggggsssseeeelllleeeecccc allows you to create a
  36.      viewing matrix in selecting mode.  To end select mode, call _e_n_d_s_e_l.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      endpic, endsel, pick, picksi, initna pushna, popnam, loadna
  40.  
  41. NNNNOOOOTTTTEEEE
  42.      This routine is available only in immediate mode.
  43.  
  44.      In order to select a large point or a wide line in selecting mode, the
  45.      selecting region must intersect the displayed point center or the
  46.      displayed line center respectively.  The displayed point center is the
  47.      imaginary point of size 1 specified by the same vertex as the displayed
  48.      point.  The displayed line center is the imaginary line of width 1
  49.      specified by the same vertices as the displayed line.  In case of a very
  50.      large point or very wide line, you may want to consider drawing a filled
  51.      circle or a filled rectangle respectively instead.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.